package com.cavy.platform.server.domain;

import lombok.Data;

import java.io.File;

/**
 * @author 唐旭
 * @Date 2018/7/26
 */
@Data
public class JobConfig {
    private int pendingTimeOut = 300;
    private int runningTimeOut = 1200;

    private String dir;
    private String logDir;

    public File getDirFile() {
        return new File(dir);
    }

    public File getLogDirFile() {
        return new File(logDir);
    }
}
